#ifndef COMMON_H
#define COMMON_H

#ifdef _DEBUG
#define printLog(x)		{ Osp::Base::String str(x); AppLogDebug("%S",str.GetPointer()); }
#else
#define printLog(x)
#endif

#define INIT_PAGE_URL		L"file:///Res/index.html"

/* DEVICE INFO */
#define DEVICE_PHONEGAP		L"0.9.4"
#define DEVICE_NAME			L""
#define DEVICE_PLATFORM		L"bada"

/* FILE BASE PATH */
#define APP_DOCS_PATH		L"/Home/"
#define APP_TEMP_PATH		L"/Home/"
#define APP_LIBRARY_PATH	L"/Home/"

enum
{
	EVENT_PRESSED_SIDE_UP_BUTTON = 5001,
	EVENT_PRESSED_SIDE_DOWN_BUTTON,
	EVENT_PRESSED_CAMERA_BUTTON,
	EVENT_PRESSED_CAMERA_HALF_SHUTTER_BUTTON,

	EVENT_CHILD_PHONEGAP_OPEN,
	EVENT_CHILD_PHONEGAP_CLOSE,
	EVENT_CHILD_PHONEGAP_PRESSED_DONE_BUTTON,

	CHILD_FORM_DONE_BUTTON = 6000
};

#endif //COMMON_H
